package cn.com.xyc.component.testService;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.xyc.component.dao.HelloBean;

@Service(value="component_userBean")
public class UserBean {
	@Resource(name="component_En_HelloBean")
	private HelloBean helloBean;

	public void show() {
		System.out.println("显示Hello消息");
		helloBean.sayHello();
	}
}
